﻿using Arquitetura.BusinessLogic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Arquitetura.DataLayer;
using Arquitetura.Model;
using Arquitetura.Architectural.Model;
using System.Collections.Generic;

namespace Arquitetura.BusinessLogic.Test
{
    
    
    /// <summary>
    ///This is a test class for AlunoProcessTest and is intended
    ///to contain all AlunoProcessTest Unit Tests
    ///</summary>
    [TestClass()]
    public class AlunoProcessTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for Listar
        ///</summary>
        [TestMethod()]
        public void ListarTest1()
        {
            AlunoProcess target = new AlunoProcess(); // TODO: Initialize to an appropriate value
            Resultado<IList<Aluno>> expected = null; // TODO: Initialize to an appropriate value
            Resultado<IList<Aluno>> actual;
            actual = target.Listar();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Listar
        ///</summary>
        [TestMethod()]
        public void ListarTest()
        {
            AlunoProcess target = new AlunoProcess(); // TODO: Initialize to an appropriate value
            Aluno alunoFiltro = null; // TODO: Initialize to an appropriate value
            Resultado<IList<Aluno>> expected = null; // TODO: Initialize to an appropriate value
            Resultado<IList<Aluno>> actual;
            actual = target.Listar(alunoFiltro);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Inserir
        ///</summary>
        [TestMethod()]
        public void InserirTest()
        {
            AlunoProcess target = new AlunoProcess(); // TODO: Initialize to an appropriate value
            Aluno aluno = null; // TODO: Initialize to an appropriate value
            Resultado expected = null; // TODO: Initialize to an appropriate value
            Resultado actual;
            actual = target.Inserir(aluno);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Excluir
        ///</summary>
        [TestMethod()]
        public void ExcluirTest()
        {
            AlunoProcess target = new AlunoProcess(); // TODO: Initialize to an appropriate value
            Aluno aluno = null; // TODO: Initialize to an appropriate value
            Resultado expected = null; // TODO: Initialize to an appropriate value
            Resultado actual;
            actual = target.Excluir(aluno);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Consultar
        ///</summary>
        [TestMethod()]
        public void ConsultarTest()
        {
            AlunoProcess target = new AlunoProcess(); // TODO: Initialize to an appropriate value
            int IdAluno = 0; // TODO: Initialize to an appropriate value
            Resultado<Aluno> expected = null; // TODO: Initialize to an appropriate value
            Resultado<Aluno> actual;
            actual = target.Consultar(IdAluno);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for Alterar
        ///</summary>
        [TestMethod()]
        public void AlterarTest()
        {
            AlunoProcess target = new AlunoProcess(); // TODO: Initialize to an appropriate value
            Aluno aluno = null; // TODO: Initialize to an appropriate value
            Resultado expected = null; // TODO: Initialize to an appropriate value
            Resultado actual;
            actual = target.Alterar(aluno);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for AlunoProcess Constructor
        ///</summary>
        [TestMethod()]
        public void AlunoProcessConstructorTest1()
        {
            AlunoProcess target = new AlunoProcess();
            Assert.Inconclusive("TODO: Implement code to verify target");
        }

        /// <summary>
        ///A test for AlunoProcess Constructor
        ///</summary>
        [TestMethod()]
        public void AlunoProcessConstructorTest()
        {
            IAlunoData alunoData = null; // TODO: Initialize to an appropriate value
            AlunoProcess target = new AlunoProcess(alunoData);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
    }
}
